<!-- 学车技巧 -->
<template>
	<view>
		<!-- 顶部 -->
		<view class="top">
			<view class="back" @click="$win.back()">
				<view>
					<image src="/static/iconfont/arrow-left-bold.png" mode="aspectFill"></image>
				</view>
				<text>考试秘籍</text>
			</view>
		</view>

		<view class="body">
			<view class="son" v-for="k in 4" @click="$win.show('detailed/detailed')">
				<view class="text">
					<text class="name">倒车入库技巧图解</text>
					<text
						class="content">自从驾考改革之后，考场上已经看不见标杆了，有的只是地上的黄线，而且还取消了移库。没有标杆这倒库1111111111111111111111111111111111111111111111111</text>
				</view>
				<image src="" mode="" style="background-color: skyblue;"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	// page {
	// 	background-color: #f2f3f5;
	// }

	.top {
		display: flex;
		flex-direction: row;
		align-items: center;
		margin-top: 40rpx;
		width: 750rpx;
		height: 88rpx;
		background: #ffffff;

		.back {
			display: flex;
			flex-direction: row;
			align-items: center;

			view {
				display: flex;
				align-items: center;
				justify-content: center;
				width: 88rpx;
				height: 88rpx;

				image {
					width: 20rpx;
					height: 34rpx;
				}
			}

			text {
				height: 34rpx;
				line-height: 34rpx;
				font-size: 34rpx;
				font-family: Source Han Sans CN, Source Han Sans CN-Regular;
				font-weight: 400;
				text-align: left;
				color: #333333;
			}
		}
	}

	.body {
		display: flex;
		flex-direction: column;

		.son {
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 30rpx;
			box-sizing: border-box;
			width: 750rpx;
			height: 220rpx;
			background: #ffffff;
			border-bottom: 2rpx solid #f2f3f5;

			image {
				width: 250rpx;
				height: 174rpx;
			}

			.text {
				display: flex;
				flex-direction: column;

				.name {
					width: 421rpx;
					font-size: 32rpx;
					font-family: Source Han Sans CN, Source Han Sans CN-Regular;
					font-weight: 400;
					text-align: left;
					color: #333333;
					overflow: hidden;
					/*超出部分隐藏*/
					white-space: nowrap;
					/*禁止换行*/
					text-overflow: ellipsis;
					/*省略号*/

				}

				.content {
					height: 91rpx;
					width: 421rpx;
					font-size: 24rpx;
					font-family: Source Han Sans CN, Source Han Sans CN-Regular;
					font-weight: 400;
					text-align: left;
					color: #999999;
					line-height: 32rpx;
					overflow: hidden;
					/* 超过了就显示省略号 */
					text-overflow: ellipsis;
					/* webkit内核的浏览器 */
					display: -webkit-box;
					-webkit-line-clamp: 3;
					-webkit-box-orient: vertical;

				}
			}
		}
	}
</style>
